package com.wang.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.common.model.dto.ResponseResult;
import com.wang.wemedia.api.model.dto.WmMaterialDto;
import com.wang.wemedia.api.model.pojo.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author: wangning
 * @date: 2024/1/11 18:24
 */
public interface WmMaterialService extends IService<WmMaterial> {

    /**
     * 图片上传
     * @param multipartFile
     * @return
     */
    public ResponseResult uploadPicture(MultipartFile multipartFile) throws IOException;

    /**
     * 素材列表查询
     * @param dto
     * @return
     */
    public ResponseResult findList(WmMaterialDto dto);



}
